package model.bullets;

import android.graphics.Canvas;

/**
 * Interface representing different bullets in the game, which are used by the
 * towers.
 * 
 * @author EvilTeam
 * 
 */
public interface IBullet {

	/**
	 * Draw method for the bullet.
	 * 
	 * @param canvas
	 */
	public void draw(Canvas canvas);

	/**
	 * Return true if the bullet has hit the target.
	 * 
	 * @return
	 */
	public boolean isHit();

	/**
	 * Updating bullet location in the game.
	 */
	public void updateMyLocation();

	/**
	 * Check if the bullet hit his target.
	 */
	public void hit();

	/**
	 * Clears the old location of the bullet on the game board.
	 * 
	 * @param canvas
	 */
	public void clearOldBitmap(Canvas canvas);

}
